﻿namespace DDotNet.Web.UI.AutomatedPageBuilder
{
    internal sealed class Constants
    {
        /// <summary>
        /// QueryString parameter to define a entity type
        /// </summary>
        public const string ENTITY_TYPE_PARAMETER = "EntityType";

        /// <summary>
        /// Querystring parameter to define a operation parameter
        /// </summary>
        public const string OPERATION_PARAMETER = "Operation";

        /// <summary>
        /// QueryString parameter to define a Entity PK Definitions
        /// </summary>
        public const string ENTITY_PK_PARAMETER = "EntityPK";

        /// <summary>
        /// Item to Define a PK Item (0 - Key / 1 - Value}
        /// </summary>
        public const string ENTITY_PK_ITEM_TEMPLATE = "{0}!{1};";

        /// <summary>
        /// Querystring Template
        /// </summary>
        public const string QUERYSTRING_TEMPLATE = "{Operation}&{EntityType}&{EntityPK}";
    }
}